//package com.jumi.microservice.service;
//
//import com.jumi.microservice.mapper.UserCashMapper;
//import org.apache.dubbo.config.annotation.DubboService;
//
//import javax.annotation.Resource;
//import java.math.BigDecimal;
//
///**
// * @author scw
// * @date 2021/1/9
// */
//@DubboService
//public class UserCashDubboServiceImpl implements IUserCashDubboService {
//    @Resource
//    private UserCashMapper userCashMapper;
//
//    /**
//     * 本月提现金额总额
//     *
//     * @param uid
//     * @return
//     */
//    @Override
//    public BigDecimal getTotalAmountByMonth(Long uid) {
//        BigDecimal totalAmount = userCashMapper.getTotalAmountByMonth(uid);
//        return totalAmount == null ? BigDecimal.ZERO : totalAmount;
//    }
//}
